package 比赛.赛氪.test;

import java.util.Scanner;
public class test2 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        double a = in.nextInt();
        double b = in.nextInt();
        double c = in.nextInt();
        double l = a + b + c;
        double p = l / 2;
        double s = Math.sqrt(p * (p - a) * (p - b) * (p - c));
        System.out.printf("circumference="+String.format("%.2f",l)+" area="+String.format("%.2f",s)+"\n", l, s);
    }
}
